// 8 regulations:
Exp : 
    Exp '+' Term // [0] [0]
  | Exp '-' Term // [1] [1]
  | Term ; // [2] [2]
Term : 
    Term '*' Factor // [0] [3]
  | Term '/' Factor // [1] [4]
  | Factor ; // [2] [5]
Factor : 
    '(' Exp ')' // [0] [6]
  | 'number' ; // [1] [7]

// 1 token statements:
%%[0-9]+%% 'number' // [0]

// 0 precedences

// options
%grammarName Exp
%start Exp
%blockComment off
%inlineComment off
%validScopeChars [\u0001-\uFFFF]
%validGlobalChars [\u0001-\uFFFF]

